package com.huawei.hwphy2d.physical.util;

import java.security.SecureRandom;

public class RandomRange {
    public static int getNextRandomInt(int i, int i2) {
        return (new SecureRandom().nextInt(i2) % ((i2 - i) + 1)) + i;
    }
}
